home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / ccmd / cmusr.cnf < prev    next >
Encoding:
Text File  |  1990-12-18  |  957 b   |  34 lines

  1. _
  2. _ Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3. _ the City of New York.  Permission is granted to any individual or
  4. _ institution to use, copy, or redistribute this software so long as it
  5. _ is not sold for profit, provided this copyright notice is retained.
  6. _
  7. _ Author: Howie Kaye
  8.  
  9. /* username parse errors */
  10. fnerror(NM, `Does not match username')
  11. fnerror(AMB,`Ambiguous')
  12.  
  13. /* parse a wild username */
  14. fnflag(WILD)                /* allow wild users */
  15. fnflag(NOUPD)                /* defer update of user table */
  16.                     /* even if /etc/passwd has been  */
  17.                     /* updated */
  18. fnflag(UPDONLY)                /* forced update of user table */
  19.                     /* parse will fail. */
  20.                     /* allows table to updated with  */
  21.                     /* no parse done. */
  22.                     /* when using this flag, you */
  23.                     /* must trap errors yourself, or */
  24.                     /* a "no such user error" will be */
  25.                     /* displayed */
  26. #if unix
  27. #include <pwd.h>
  28. #else
  29. struct passwd {
  30.   int x;
  31. };
  32. #endif
  33. pvtype(struct passwd **)_
  34.